blob: 9464c037ac05ced99bd2e1751f18aa13d4e18f27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
import * as React from "react"
import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"
import { Shell } from "@/components/shell"
import { InformationButton } from "@/components/information/information-button"
import { VendorFormStatusTable } from "@/components/form-data-stat/form-data-stat-table"
import { useTranslation } from "@/i18n"
interface edpProgressPageProps {
params: Promise<{ lng: string }>
}
export default async function IndexPage({ params: edpProgressPageProps }) {
const { lng } = await params
const { t } = await useTranslation(lng, 'menu')
return (
<Shell className="gap-2">
<div className="flex items-center justify-between space-y-2">
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">{t('menu.engineering_management.vendor_progress')}</h2>
<InformationButton pagePath="evcp/edp-progress" />
</div>
</div>
<React.Suspense
fallback={
<DataTableSkeleton
columnCount={6}
searchableColumnCount={1}
filterableColumnCount={0}
cellWidths={["16rem", "8rem", "8rem", "8rem", "8rem", "8rem"]}
shrinkZero
/>
}
>
<VendorFormStatusTable />
</React.Suspense>
</Shell>
)
}
|